package com.shycloud.mido.music.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shycloud.mido.music.domain.MisMusicCategory;
import com.shycloud.mido.music.vo.MusicCateNameVO;
import com.shycloud.mido.music.vo.MusicCateVo;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 分类模块 Mapper
 *
 * @author nianhua.jiang
 * @date 2020/4/29 15:24
 */
public interface MisMusicCategoryMapper extends BaseMapper<MisMusicCategory> {

	/**
	 * 获取分类名称 List
	 *
	 * @param
	 * @return java.util.List<com.shycloud.mido.music.vo.MusicCateNameVO>
	 * @author nianhua.jiang
	 * @date 2020/4/29 15:23
	 */
	List<MusicCateNameVO> getCateNameList();

	List<MusicCateVo> getCateIdByName(@Param("nameList") String[] nameList);

	Integer getMusicCount(@Param("cateId") Integer cateId);
}